home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / fsscl20d / FORM2.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-04-03  |  16.7 KB  |  491 lines

  1. VERSION 5.00
  2. Object = "{75C038D3-EA57-11D2-A3BC-000000000000}#1.0#0"; "fsScroll5D.ocx"
  3. Begin VB.Form frmLarge 
  4.    BorderStyle     =   3  'Fixed Dialog
  5.    Caption         =   "Large Data Entry Form"
  6.    ClientHeight    =   3555
  7.    ClientLeft      =   -45
  8.    ClientTop       =   330
  9.    ClientWidth     =   7680
  10.    LinkTopic       =   "Form2"
  11.    MaxButton       =   0   'False
  12.    MinButton       =   0   'False
  13.    ScaleHeight     =   3555
  14.    ScaleWidth      =   7680
  15.    ShowInTaskbar   =   0   'False
  16.    StartUpPosition =   2  'CenterScreen
  17.    Begin FishheadScroll.fsScroll fsScroll1 
  18.       Align           =   1  'Align Top
  19.       Height          =   3555
  20.       Left            =   0
  21.       TabIndex        =   0
  22.       Top             =   0
  23.       Width           =   7680
  24.       _ExtentX        =   13547
  25.       _ExtentY        =   6271
  26.       AdjustLeft      =   500
  27.       MouseIcon       =   "Form2.frx":0000
  28.       Begin VB.Frame Frame4 
  29.          Caption         =   "Witness:"
  30.          Height          =   2745
  31.          Left            =   90
  32.          TabIndex        =   35
  33.          Top             =   3285
  34.          Width           =   7155
  35.          Begin VB.TextBox Text24 
  36.             Height          =   315
  37.             Left            =   1350
  38.             TabIndex        =   49
  39.             Top             =   2220
  40.             Width           =   5625
  41.          End
  42.          Begin VB.TextBox Text23 
  43.             Height          =   315
  44.             Left            =   1350
  45.             TabIndex        =   47
  46.             Top             =   1830
  47.             Width           =   5625
  48.          End
  49.          Begin VB.TextBox Text21 
  50.             Height          =   315
  51.             Left            =   5910
  52.             TabIndex        =   45
  53.             Top             =   1410
  54.             Width           =   1065
  55.          End
  56.          Begin VB.ComboBox Combo3 
  57.             Height          =   315
  58.             ItemData        =   "Form2.frx":031A
  59.             Left            =   3750
  60.             List            =   "Form2.frx":033C
  61.             Style           =   2  'Dropdown List
  62.             TabIndex        =   43
  63.             Top             =   1410
  64.             Width           =   1155
  65.          End
  66.          Begin VB.TextBox Text20 
  67.             Height          =   315
  68.             Left            =   1350
  69.             TabIndex        =   41
  70.             Top             =   1410
  71.             Width           =   1635
  72.          End
  73.          Begin VB.TextBox Text19 
  74.             Height          =   645
  75.             Left            =   1350
  76.             MultiLine       =   -1  'True
  77.             TabIndex        =   39
  78.             Top             =   660
  79.             Width           =   5625
  80.          End
  81.          Begin VB.TextBox Text16 
  82.             Height          =   315
  83.             Left            =   1350
  84.             TabIndex        =   37
  85.             Top             =   240
  86.             Width           =   5625
  87.          End
  88.          Begin VB.Label Label27 
  89.             Caption         =   "E-Mail: "
  90.             Height          =   345
  91.             Left            =   180
  92.             TabIndex        =   48
  93.             Top             =   2250
  94.             Width           =   765
  95.          End
  96.          Begin VB.Label Label26 
  97.             Caption         =   "Phone:"
  98.             Height          =   315
  99.             Left            =   180
  100.             TabIndex        =   46
  101.             Top             =   1920
  102.             Width           =   795
  103.          End
  104.          Begin VB.Label Label24 
  105.             Caption         =   "Zip Code:"
  106.             Height          =   255
  107.             Left            =   5100
  108.             TabIndex        =   44
  109.             Top             =   1440
  110.             Width           =   765
  111.          End
  112.          Begin VB.Label Label23 
  113.             Caption         =   "State:"
  114.             Height          =   285
  115.             Left            =   3150
  116.             TabIndex        =   42
  117.             Top             =   1470
  118.             Width           =   555
  119.          End
  120.          Begin VB.Label Label22 
  121.             Caption         =   "City: "
  122.             Height          =   345
  123.             Left            =   180
  124.             TabIndex        =   40
  125.             Top             =   1470
  126.             Width           =   885
  127.          End
  128.          Begin VB.Label Label21 
  129.             Caption         =   "Address: "
  130.             Height          =   315
  131.             Left            =   180
  132.             TabIndex        =   38
  133.             Top             =   660
  134.             Width           =   765
  135.          End
  136.          Begin VB.Label Label18 
  137.             Caption         =   "Name: "
  138.             Height          =   375
  139.             Left            =   180
  140.             TabIndex        =   36
  141.             Top             =   300
  142.             Width           =   675
  143.          End
  144.       End
  145.       Begin VB.Frame Frame3 
  146.          Caption         =   "Claim:"
  147.          Height          =   4455
  148.          Left            =   7380
  149.          TabIndex        =   50
  150.          Top             =   3285
  151.          Width           =   8715
  152.          Begin VB.TextBox Text18 
  153.             Height          =   3045
  154.             Left            =   1500
  155.             MultiLine       =   -1  'True
  156.             TabIndex        =   56
  157.             Top             =   1200
  158.             Width           =   6825
  159.          End
  160.          Begin VB.TextBox Text17 
  161.             Height          =   315
  162.             Left            =   1500
  163.             TabIndex        =   54
  164.             Top             =   750
  165.             Width           =   1785
  166.          End
  167.          Begin VB.TextBox Text15 
  168.             Height          =   315
  169.             Left            =   1500
  170.             TabIndex        =   52
  171.             Top             =   330
  172.             Width           =   5295
  173.          End
  174.          Begin VB.Label Label20 
  175.             Caption         =   "Description:"
  176.             Height          =   285
  177.             Left            =   180
  178.             TabIndex        =   55
  179.             Top             =   1230
  180.             Width           =   1065
  181.          End
  182.          Begin VB.Label Label19 
  183.             Caption         =   "Filling Date:"
  184.             Height          =   285
  185.             Left            =   180
  186.             TabIndex        =   53
  187.             Top             =   750
  188.             Width           =   885
  189.          End
  190.          Begin VB.Label Label17 
  191.             Caption         =   "Nature of Claim:"
  192.             Height          =   255
  193.             Left            =   180
  194.             TabIndex        =   51
  195.             Top             =   390
  196.             Width           =   1335
  197.          End
  198.       End
  199.       Begin VB.Frame Frame2 
  200.          Caption         =   "Employee Information:"
  201.          Height          =   3165
  202.          Left            =   7380
  203.          TabIndex        =   18
  204.          Top             =   45
  205.          Width           =   7155
  206.          Begin VB.TextBox Text14 
  207.             Height          =   315
  208.             Left            =   1350
  209.             TabIndex        =   20
  210.             Top             =   240
  211.             Width           =   5625
  212.          End
  213.          Begin VB.TextBox Text13 
  214.             Height          =   645
  215.             Left            =   1350
  216.             MultiLine       =   -1  'True
  217.             TabIndex        =   22
  218.             Top             =   660
  219.             Width           =   5625
  220.          End
  221.          Begin VB.TextBox Text12 
  222.             Height          =   315
  223.             Left            =   1350
  224.             TabIndex        =   24
  225.             Top             =   1410
  226.             Width           =   1635
  227.          End
  228.          Begin VB.ComboBox Combo2 
  229.             Height          =   315
  230.             ItemData        =   "Form2.frx":0368
  231.             Left            =   3750
  232.             List            =   "Form2.frx":038A
  233.             Style           =   2  'Dropdown List
  234.             TabIndex        =   26
  235.             Top             =   1410
  236.             Width           =   1155
  237.          End
  238.          Begin VB.TextBox Text11 
  239.             Height          =   315
  240.             Left            =   5910
  241.             TabIndex        =   28
  242.             Top             =   1410
  243.             Width           =   1065
  244.          End
  245.          Begin VB.TextBox Text10 
  246.             Height          =   315
  247.             Left            =   1350
  248.             TabIndex        =   30
  249.             Top             =   1830
  250.             Width           =   5625
  251.          End
  252.          Begin VB.TextBox Text9 
  253.             Height          =   315
  254.             Left            =   1350
  255.             TabIndex        =   32
  256.             Top             =   2250
  257.             Width           =   5625
  258.          End
  259.          Begin VB.TextBox Text8 
  260.             Height          =   315
  261.             Left            =   1350
  262.             TabIndex        =   34
  263.             Top             =   2640
  264.             Width           =   5625
  265.          End
  266.          Begin VB.Label Label16 
  267.             Caption         =   "Name: "
  268.             Height          =   375
  269.             Left            =   180
  270.             TabIndex        =   19
  271.             Top             =   300
  272.             Width           =   675
  273.          End
  274.          Begin VB.Label Label15 
  275.             Caption         =   "Address: "
  276.             Height          =   315
  277.             Left            =   180
  278.             TabIndex        =   21
  279.             Top             =   660
  280.             Width           =   765
  281.          End
  282.          Begin VB.Label Label14 
  283.             Caption         =   "City: "
  284.             Height          =   345
  285.             Left            =   180
  286.             TabIndex        =   23
  287.             Top             =   1470
  288.             Width           =   885
  289.          End
  290.          Begin VB.Label Label13 
  291.             Caption         =   "State:"
  292.             Height          =   285
  293.             Left            =   3150
  294.             TabIndex        =   25
  295.             Top             =   1470
  296.             Width           =   555
  297.          End
  298.          Begin VB.Label Label12 
  299.             Caption         =   "Zip Code:"
  300.             Height          =   255
  301.             Left            =   5100
  302.             TabIndex        =   27
  303.             Top             =   1440
  304.             Width           =   765
  305.          End
  306.          Begin VB.Label Label11 
  307.             Caption         =   "Position:"
  308.             Height          =   315
  309.             Left            =   180
  310.             TabIndex        =   29
  311.             Top             =   1890
  312.             Width           =   795
  313.          End
  314.          Begin VB.Label Label10 
  315.             Caption         =   "Phone:"
  316.             Height          =   315
  317.             Left            =   180
  318.             TabIndex        =   31
  319.             Top             =   2340
  320.             Width           =   795
  321.          End
  322.          Begin VB.Label Label9 
  323.             Caption         =   "E-Mail: "
  324.             Height          =   345
  325.             Left            =   180
  326.             TabIndex        =   33
  327.             Top             =   2670
  328.             Width           =   765
  329.          End
  330.       End
  331.       Begin VB.Frame Frame1 
  332.          Caption         =   "Employer Information:"
  333.          Height          =   3165
  334.          Left            =   90
  335.          TabIndex        =   1
  336.          Top             =   45
  337.          Width           =   7155
  338.          Begin VB.TextBox Text7 
  339.             Height          =   315
  340.             Left            =   1350
  341.             TabIndex        =   17
  342.             Top             =   2640
  343.             Width           =   5625
  344.          End
  345.          Begin VB.TextBox Text6 
  346.             Height          =   315
  347.             Left            =   1350
  348.             TabIndex        =   15
  349.             Top             =   2250
  350.             Width           =   5625
  351.          End
  352.          Begin VB.TextBox Text5 
  353.             Height          =   315
  354.             Left            =   1350
  355.             TabIndex        =   13
  356.             Top             =   1830
  357.             Width           =   5625
  358.          End
  359.          Begin VB.TextBox Text4 
  360.             Height          =   315
  361.             Left            =   5910
  362.             TabIndex        =   11
  363.             Top             =   1410
  364.             Width           =   1065
  365.          End
  366.          Begin VB.ComboBox Combo1 
  367.             Height          =   315
  368.             ItemData        =   "Form2.frx":03B6
  369.             Left            =   3750
  370.             List            =   "Form2.frx":03D8
  371.             Style           =   2  'Dropdown List
  372.             TabIndex        =   9
  373.             Top             =   1410
  374.             Width           =   1155
  375.          End
  376.          Begin VB.TextBox Text3 
  377.             Height          =   315
  378.             Left            =   1350
  379.             TabIndex        =   7
  380.             Top             =   1410
  381.             Width           =   1635
  382.          End
  383.          Begin VB.TextBox Text2 
  384.             Height          =   645
  385.             Left            =   1350
  386.             MultiLine       =   -1  'True
  387.             TabIndex        =   5
  388.             Top             =   660
  389.             Width           =   5625
  390.          End
  391.          Begin VB.TextBox Text1 
  392.             Height          =   315
  393.             Left            =   1350
  394.             TabIndex        =   3
  395.             Top             =   240
  396.             Width           =   5625
  397.          End
  398.          Begin VB.Label Label8 
  399.             Caption         =   "Phone: "
  400.             Height          =   345
  401.             Left            =   180
  402.             TabIndex        =   16
  403.             Top             =   2670
  404.             Width           =   765
  405.          End
  406.          Begin VB.Label Label7 
  407.             Caption         =   "Contact:"
  408.             Height          =   315
  409.             Left            =   180
  410.             TabIndex        =   14
  411.             Top             =   2340
  412.             Width           =   795
  413.          End
  414.          Begin VB.Label Label6 
  415.             Caption         =   "Nature of Business:"
  416.             Height          =   435
  417.             Left            =   180
  418.             TabIndex        =   12
  419.             Top             =   1830
  420.             Width           =   795
  421.          End
  422.          Begin VB.Label Label5 
  423.             Caption         =   "Zip Code:"
  424.             Height          =   255
  425.             Left            =   5100
  426.             TabIndex        =   10
  427.             Top             =   1440
  428.             Width           =   765
  429.          End
  430.          Begin VB.Label Label4 
  431.             Caption         =   "State:"
  432.             Height          =   285
  433.             Left            =   3150
  434.             TabIndex        =   8
  435.             Top             =   1470
  436.             Width           =   555
  437.          End
  438.          Begin VB.Label Label3 
  439.             Caption         =   "City: "
  440.             Height          =   345
  441.             Left            =   180
  442.             TabIndex        =   6
  443.             Top             =   1470
  444.             Width           =   885
  445.          End
  446.          Begin VB.Label Label2 
  447.             Caption         =   "Address: "
  448.             Height          =   315
  449.             Left            =   180
  450.             TabIndex        =   4
  451.             Top             =   660
  452.             Width           =   765
  453.          End
  454.          Begin VB.Label Label1 
  455.             Caption         =   "Name: "
  456.             Height          =   375
  457.             Left            =   180
  458.             TabIndex        =   2
  459.             Top             =   300
  460.             Width           =   675
  461.          End
  462.       End
  463.    End
  464. Attribute VB_Name = "frmLarge"
  465. Attribute VB_GlobalNameSpace = False
  466. Attribute VB_Creatable = False
  467. Attribute VB_PredeclaredId = True
  468. Attribute VB_Exposed = False
  469. Option Explicit
  470. ' This sample shows how to create a large data entry form
  471. ' that fills the entire client area.
  472. Private Sub Command1_Click()
  473.     Unload Me
  474. End Sub
  475. Private Sub Form_Load()
  476.     ' These properties can be set at design or run time
  477.     fsScroll1.Align = vbAlignTop     ' Force the control to take up the entire client area
  478.     fsScroll1.ScrollBars = fsSBBoth  ' Show both scrollbars
  479.     fsScroll1.AdjustBottom = 50      ' Allow extra space to view all contents
  480.     fsScroll1.AdjustLeft = 1400      ' Allow extra space to view all contents
  481.     fsScroll1.AdjustTop = 1000       ' Allow extra space to view all contents
  482.     fsScroll1.AdjustRight = 300      ' Allow extra space to view all contents
  483. End Sub
  484. Private Sub Form_Resize()
  485.     ' Ensure the control covers the entire client area
  486.     fsScroll1.Height = Me.ScaleHeight
  487. End Sub
  488. Private Sub Form_Unload(Cancel As Integer)
  489.     Set frmLarge = Nothing
  490. End Sub
  491.